﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Styles/Admin.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="Administration_layout_index" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="listingActions">
        <a href="Upload.aspx">Add new item</a>
    </div>
    
    <asp:Repeater runat="server" ID="FileRepeater">
        <HeaderTemplate>
            <div id="ItemHeader" class="NavigationHeader">
                Filepath - Description (Actions)
            </div>
        </HeaderTemplate>
        <ItemTemplate>
            <div class="ItemName"><a href="/CMSProject/Files/<%#Eval("filePath")%>"><%# Eval("filePath")%></a> - Files/<%# Eval("fileDescription") == null ? "" : Eval("fileDescription")%></div><div class="ItemAction">(<a href="delete.aspx?id=<%#Eval("fileID")%>">Delete</a>)</div>
        </ItemTemplate>
    </asp:Repeater>
    <div style="clear: both"></div>
</asp:Content>

